package com.info.zhiduoduo.repository.entity.company;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *  项目修复记录表
 * </p>
 *
 * @author cuichenglong
 * @since 2021-03-29
 */
@Data
@Accessors(chain = true)
@TableName("zdd_company_project_repair_record")
public class CompanyProjectRepairRecord extends Model<CompanyProjectRepairRecord> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 项目id
     */
    @TableField("project_id")
    private Integer projectId;
    /**
     * 修复原因
     */
    @TableField("repair_reason")
    private String repairReason;
    /**
     * 创建时间
     */
    private Date createtime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
